<?php include COMMON_PATH.'/header.html';?>
<div class="layui-container fly-marginTop fly-user-main">
    <?php include COMMON_PATH.'/product-nav.html';?>
    <div class="fly-panel fly-panel-user" pad20>
        <div class="layui-tab layui-tab-brief" lay-filter="email">
            <ul class="layui-tab-title" id="LAY_mine">
                <li class="" lay-id="info"><a href="/member/product/">出售资源</a></li>
                <li class="layui-this" lay-id="info">发布</a>
                </li>
            </ul>
            <div class="layui-tab-content" style="padding: 20px 0;">
                <div class="layui-form-pane layui-tab-item layui-show">
                    <blockquote class="layui-elem-quote">
                        <p> 注意事项： </p>
                    </blockquote>
                    <form class="layui-form layui-show" method="post">
                        <div class="layui-form-item">
                            <label for="name" class="layui-form-label">资源名称</label>
                            <div class="layui-input-block">
                                <input type="text" id="name" name="name" lay-verify="required" autocomplete="off" value="" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">单份内容</label>
                            <div class="layui-input-block">
                                <input type="radio" name="isfaka" lay-verify="required" checked="" lay-filter="isfaka" value="0" title="(买家付费后看到的信息是一样的)">
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">多份内容</label>
                            <div class="layui-input-block">
                                <input type="radio" name="isfaka" lay-verify="required" lay-filter="isfaka" value="1" title="(买家付费后看到的信息是独立的，一行一条，售完即止)">
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text" id="kami_single_div">
                            <label for="kami" class="layui-form-label">付费内容（单份内容）</label>
                            <div class="layui-input-block">
                                <textarea placeholder="" id="kami_single" autocomplete="off" class="layui-textarea" style="height: 80px;"></textarea>
                            </div>
							<div class="layui-form-mid layui-word-aux">付费内容为隐藏内容，用户支付后可见</div>
                        </div>
                        <div class="layui-form-item layui-form-text" id="kami_multi_div" style="display:none">
                            <label for="kami" class="layui-form-label">付费内容（多份内容）</label>
                            <div class="layui-input-block">
                                <textarea placeholder="" id="kami_multi" autocomplete="off" class="layui-textarea" style="height: 80px;"></textarea>
                            </div>
							<div class="layui-form-mid layui-word-aux">付费内容为隐藏内容，用户支付后可见</div>
                        </div>
                        <div class="layui-form-item">
                            <label for="price" class="layui-form-label">单价</label>
                            <div class="layui-input-inline">
                                <input type="number" id="price" name="price" lay-verify="required" autocomplete="off" value="1" class="layui-input">
                            </div>
							<div class="layui-form-mid layui-word-aux">单价不能低于1元</div>
                        </div>

                        <div class="layui-form-item">
                            <label class="layui-form-label">是否销售</label>
                            <div class="layui-input-block">
                                <input type="radio" name="active" value="1" title="在售" checked="">
                                <input type="radio" name="active" value="0" title="停售">
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <input type="hidden" name="method" value="add">
                            <input type="hidden" name="id" value="0">
                            <button class="layui-btn" key="set-mine" lay-filter="add" lay-submit>立即发布</button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<!--引入公共底文件-->
<?php include COMMON_PATH.'/footer.html';?>
<script>
layui.use('memberproduct');
</script>